<?php
/**
 * Created by PhpStorm.
 * User: gm
 * Date: 2018/12/11
 * Time: 10:49
 */
class Status{
    static $no_get=array("status"=>0,"msg"=>"不支持get请求");
    static $no_key=array("status"=>-1,"msg"=>"无法得到值");
    static $r_s=array("status"=>1,"msg"=>"注册成功");
    static $r_f=array("status"=>-101,"msg"=>"注册失败");
    static $c_s=array("status"=>-102,"msg"=>"邮箱已存在");

    static $l_s=array("status"=>1,"msg"=>"登录成功");
    static $l_f=array("status"=>-201,"msg"=>"用户名或密码错误");

    static $i_s=array("status"=>1,"msg"=>"加入购物车成功i");
    static $i_f=array("status"=>-301,"msg"=>"加入购物车失败i");

    static $u_s=array("status"=>1,"msg"=>"加入购物车成功u");
    static $u_f=array("status"=>-302,"msg"=>"加入购物车失败u");

    static $d_s=array("status"=>1,"msg"=>"删除成功");
    static $d_f=array("status"=>-401,"msg"=>"删除失败");

    static $z_s=array("status"=>1,"msg"=>"数量修改成功");
    static $z_f=array("status"=>-501,"msg"=>"数量修改失败");
}